﻿using System;
using System.Collections.Generic;
using HiTeachers.Entities;

namespace HiTeachers.Interfaces
{
    public interface IStudentFeedbackDao : IDao<StudentFeedback, Guid>
    {
        bool IsAlreadyFeedback(Guid teacherId, string studentEmail);

        int GetAvgRatingOnTeacher(Guid teacherId);
        IList<StudentFeedback> GetFeedbacksByTeacher(Guid teacherId);

        int TotalNumberOfFeedback(int reviewStatus);
        IList<StudentFeedback> GetFeedbacks(int reviewStatus);
        IList<StudentFeedback> GetFeedbacks(int reviewStatus, int maximumRows, int startRowIndex);
    }
}
